@languages: ts js typescript javascript html css php go sql json bash less scss
  nginx shell stylus python yaml yml lua;

.markdown {
  word-break: break-word;
  line-height: 1.75;
  font-weight: 400;
  width: 760px;
  margin-left: 20px;
  font-size: 15px;
  overflow-x: hidden;
  letter-spacing: 1.2px;
  color: var(--main-text-color);
  background-color: var(--bg-second);
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.5;
    margin-top: 35px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    color: inherit;
    width: 760px;
  }

  h1 {
    font-size: 30px;
    margin-bottom: 5px;
  }

  h2 {
    padding-bottom: 12px;
    font-size: 24px;
    border-bottom: 1px solid #ececec;
  }

  h3 {
    font-size: 18px;
    padding-bottom: 0;
  }

  h4 {
    font-size: 16px;
  }

  h5 {
    font-size: 15px;
  }

  h6 {
    margin-top: 5px;
  }

  p {
    line-height: inherit;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  img {
    max-width: 100%;
  }

  hr {
    border: none;
    border-top: 1px solid #ddd;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  a {
    text-decoration: none;
    color: #0269c8;
    border-bottom: 1px solid #d1e9ff;
  }

  a:active,
  a:hover {
    color: #ff0064;
  }

  blockquote {
    color: #666;
    padding: 1px 23px;
    margin: 22px 0;
    border-left: 4px solid #cbcbcb;
    background-color: #f8f8f8;
  }

  blockquote:after {
    display: block;
    content: '';
  }

  blockquote > p {
    margin: 10px 0;
  }

  ul {
    list-style-type: disc;

    ul {
      list-style-type: square;
    }
  }

  ol,
  ul {
    padding-left: 28px;
  }

  ol li,
  ul li {
    margin-bottom: 0;
    list-style: inherit;
  }

  ol ol,
  ol ul,
  ul ol,
  ul ul {
    margin-top: 3px;
  }

  ol li {
    padding-left: 6px;
  }

  .task-list-item {
    list-style: none;
    min-height: 22px;
    padding-left: 24px;
    border: 0;
    margin-left: -24px;

    > input {
      &::before {
        content: '';
        position: relative;
        top: 0;
        left: 0;
        display: block;
        width: 16px;
        height: 16px;
        border: 1px solid #d9d9d9;
        border-radius: 2px;
        background-color: #fff;
        transition: all 0.3s;
        border-collapse: separate;
      }

      &:checked::before {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
      }

      &::after {
        content: ' ';
        position: absolute;
        left: 6.571429px;
        top: 6.142857px;
        display: table;
        width: 5.71428571px;
        height: 9.14285714px;
        border: 2px solid #fff;
        border-top: 0;
        border-left: 0;
        transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
        transform: rotate(45deg) scale(0);
        opacity: 0;
      }

      &:checked::after {
        opacity: 1;
        transform: rotate(45deg) scale(1);
      }
    }
  }

  code,
  pre {
    font-family: Menlo, Monaco, Consolas, Courier New, monospace;
  }

  code {
    display: inline;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px;
    color: var(--main-text-color);
    background-color: rgba(27, 31, 35, 0.05);
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-all;
  }

  pre {
    position: relative;
    max-height: 400px;
    padding-top: 30px;
    border-radius: 5px;
    margin: 10px 0;
    background-color: var(--bg-code);
    font-size: 1em;

    &::before {
      position: absolute;
      top: 0;
      display: block;
      width: 100%;
      height: 30px;
      background-image: url(https://wipi.oss-cn-shanghai.aliyuncs.com/2020-07-12/97e4eed2-a992-4976-acf0-ccb6fb34d308.png);
      background-position: 10px 10px;
      background-size: 40px;
      background-repeat: no-repeat;
      background-color: var(--bg-code);
      content: '';
    }

    code {
      display: block;
      max-height: 370px;
      padding: 12px 10px;
      padding-top: 9px;
      border-radius: 0;
      color: var(--main-text-color);
      background-color: var(--bg-code);
      overflow: auto;
      overscroll-behavior: contain;
      font-size: 12px;
      margin: 0;
      white-space: pre-wrap;

      @at-root pre {
        overflow: hidden;
      }
    }
  }

  blockquote {
    padding: 1px 23px;
    border: 1px solid var(--border-color);
    border-left: 4px solid #cbcbcb;
    border-left: 4px solid var(--disable-text-color);
    margin: 22px 0;
    color: #666666;
    background-color: var(--bg-second);
  }

  strong {
    font-weight: bold;
  }

  strong::before {
    content: '「';
  }

  strong::after {
    content: '」';
  }

  p em {
    font-weight: normal;
  }

  em {
    color: var(--main-text-color);
    font-style: normal;
  }

  em strong {
    color: var(--main-text-color);
  }

  img {
    display: block;
    display: block;
    width: 100%;
    border-radius: var(--border-radius);
    margin: 20px auto;
    object-fit: contain;
  }

  table {
    display: inline-block;
    font-size: 13px;
    width: auto;
    max-width: 100%;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-collapse: collapse;

    thead {
      background-color: var(--bg-code);
    }

    tr:nth-child(2n) {
      background-color: var(--bg-code);
    }

    th,
    td {
      padding: 4px 8px;
      line-height: 24px;
    }
  }

  each(@languages, {
      code.language-@{value} ::before {
        content: '@{value}';
        position: absolute;
        top: 8px;
        right: 45px;
        font-size: 12px;
        line-height: 1;
        cursor: pointer;
        color: hsla(0, 0%, 54.9%, 0.8);
        transition: color 0.1s;
      }
    }

  );
}
.container {
  width: 1140px;
  margin-right: auto;
  margin-left: auto;
}
.top {
  margin-bottom: 16px;
}
.bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.bottom > section {
  flex: 1;
  width: calc(100% - 20rem - 1rem);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.breadcrumb {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #000;
  font-variant: tabular-nums;
  line-height: 1.5715;
  list-style: none;
  font-feature-settings: 'tnum';
  color: var(--main-text-color);
  font-size: 14px;
}
.breadcrumb > span > span > a {
  color: var(--main-text-color) !important;
}
.bottomcontent > article {
  padding: 1rem;
  background:var(--bg-second) ;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(18 18 18/10%);
}
.titles {
  text-align: center;
  color:var(--main-text-color);
}
.titles > h1 {
  color: inherit;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1rem;
  line-height: 1.5;
  text-align: center;
}
.titles > p {
  margin-bottom: 1.2em;
  color: inherit;
  font-style: italic;
  text-align: center;
}
.information {
  color: #655e5e;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 21px;
}
.information > a {
  color: #655e5e;
}
.jump {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 20px 0;
  margin-top: 20px;
}
.frame {
  width: 100%;
  text-align: right;
  position: relative;
  // width: 40%;
  height: 75px;
  padding: 8px;
  border-radius: 2px;
  background: var(--bg-second);
  border: 1px solid var(--bg-second);
  box-shadow: 0 1px 3px rgb(18 18 18/10%) !important;
  overflow: hidden;
}

.frame > a {
  display: flex;
  align-items: center;
  padding: 1rem 0.5rem;
  overflow: hidden;
  justify-content: flex-end;
}
.frame > a > span {
  color: #655e5e;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 30px);
}

.rightcontent {
  width: 20rem;
  margin-left: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.rightcon {
  margin-top: 37px;
  position: sticky;
  top: 1rem;
  margin-bottom: 1rem;
}

.righttitle {
  background: var(--bg-second);
  padding: 0.8rem;
}
.righttitle > header {
  color: var(--main-text-color);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 12px;
}
.righttitle > main {
  max-height: 200px;
  // overflow: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
.righttitle > main > .lis {
  list-style: none;
  width: 100%;
  padding: 0;
  color: var(--main-text-color);
  margin: 0;
}
.righttitle > main > .lis > li {
  border-radius: 2px;
  padding: 0 12px;
  line-height:44px;
  height: 44px;
}
.righttitle > main > .lis > li > a {
  opacity: 1;
  color: var(--main-text-color);
  background-color:none;
}
.righttitle > main > .lis > li:hover {
  background-color: #e7eaee;
  line-height:44px;
  color: #ff0064;
}
.righttitle > main > .lis > li >a:hover {
  background-color: #e7eaee;
  line-height:44px;
  color: #ff0064;
}
.FloorBright{
  >a{
    color: var(--main-text-color);
  }
}
.directory{
  // position: fixed;
  // right: 25%;
  // position:absolute;
  // position: sticky;
  // top: 8%; 
  margin-top: 20px;
  color: rgba(0,0,0,0.85);
    font-weight: 600;
    height: 300px;
    line-height: 22px;
    margin-bottom: 12px;
}

.ant-anchor-link-title {
  color: var(--main-text-color);
}

.ant-anchor-link-title:hover {
  color: var(--primary-color);
}

.ant-anchor-link-title-active {
  width: 100%;
  color: var(--primary-color) !important;
  background: var(--bg-second);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}
.data{
  color: var(--main-text-color);
}
.bottom>.share{
  position: fixed;
  z-index: 10;
  top: 30vh;
  transform: translateX(-100%);
  padding-right: 23%;
}


.detail_chapter_order {
  width: 100%;
  position: relative;
  padding: 8px;
  border-radius: var(--border-radius);
  background: var(--bg-second);
  // overflow: hidden;
  display: flex;

  .chapter_big_marger {
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    padding: 8px;
    width: 100%;

    a {
      width: 100%;

    }
  }

  .chapter_big_marger:hover {

    border-color: var(--primary-color);

    a {
      color: var(--primary-color);
    }
  }

  .chapter_left {
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    padding: 8px;
    width: 100%;
    display: flex;

    a {
      width: 100%;

    }
  }

  .chapter_left:hover {

    border-color: var(--primary-color);

    a {
      color: var(--primary-color);
    }
  }

  a {
    padding: 1em 0.5em;
    overflow: hidden;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color .3s;
    width: 100%;
    box-sizing: border-box;
    color: var(--main-text-color);
  }

  .sharp_end {
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .middle_chapter {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding: 20px 0;
    margin-top: 20px;

    .right_chapter {
      text-align: right;
    }

    .chapter_margin {
      width: 45%;
      display: flex;
      padding: 8px;
      justify-content: space-between;
      border: 1px solid var(--border-color);
      box-shadow: var(--box-shadow);

      a {
        border: none;
      }
    }

    .chapter_margin:hover {
      border-color: var(--primary-color);

      a {
        color: var(--primary-color);
      }
    }

  }

  .detail_point {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 30px);
    display: inline-block;
    color: inherit;
    font-style: normal;
    line-height: 0;
    text-align: center;
    text-transform: none;
    vertical-align: -0.125em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

}